package org.springblade.modules.admin.vo.sugar.rescue;

import cn.hutool.core.util.ObjectUtil;
import lombok.Data;

import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 * @Date 9:25 2023/9/18
 * @Description {
 *   救援处置总览
 * }
 * @Author lsay
 **/
@Data
public class RescueOverviewVO {

	/**
	 * 救援数量
	 */
	private Long rescueCount;
	private BigDecimal rescueCountCrr;

	/**
	 * 响应平均时长
	 */
	private BigDecimal allocationDurationAve;
	private BigDecimal allocationDurationAveCrr;

	/**
	 * 到达平均时长
	 */
	private BigDecimal arriveDurationAve;
	private BigDecimal arriveDurationAveCrr;

	/**
	 * 到达超时次数
	 */
	private Long arriveOverTime;
	private BigDecimal arriveOverTimeCrr;

	/**
	 * 完成平均时长
	 */
	private BigDecimal finishDurationAve;
	private BigDecimal finishDurationAveCrr;

	/**
	 * 日均救援次数
	 */
	private BigDecimal dayRescueAve;
	private BigDecimal dayRescueAveCrr;

	public RescueOverviewVO() {
		this.rescueCount = 0L;
		this.rescueCountCrr = BigDecimal.ZERO;
		this.allocationDurationAve = BigDecimal.ZERO;
		this.allocationDurationAveCrr = BigDecimal.ZERO;
		this.arriveDurationAve = BigDecimal.ZERO;
		this.arriveDurationAveCrr = BigDecimal.ZERO;
		this.arriveOverTime = 0L;
		this.arriveOverTimeCrr = BigDecimal.ZERO;
		this.finishDurationAve = BigDecimal.ZERO;
		this.finishDurationAveCrr = BigDecimal.ZERO;
		this.dayRescueAve = BigDecimal.ZERO;
		this.dayRescueAveCrr = BigDecimal.ZERO;
	}
}
